<!DOCTYPE html>
<html>
<meta charset="utf-8">
<script th:inline="javascript"> var ctx = [[@{
    /}]] ; </script>
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">

                        <!-- <input id="ID" name="ID" th:value="${questionInfo.ID}"  type="hidden">  -->
                        <input id="projectid" name="projectid"    type="hidden">

                        <div class="form-group">
                            <label class="col-sm-1 control-label">项目名称：</label>
                            <div class="col-sm-9">
                                <input id="projectname" name="projectname" class="form-control" type="text">
                            </div>

                        </div>
                        <div class="form-group">
                            <label class="col-sm-1 control-label"><span class="span_xx">* 缺陷标题：</span></label>
                            <div class="col-sm-9">
                                <input id="bugtitle" name="bugtitle" class="form-control" type="text">
                            </div>

                        </div>
                        <div class="form-group">
                            <label class="col-sm-1 control-label"><span class="span_xx">* 缺陷状态：</span></label>
                            <div class="col-sm-4">
                                 <select name="bugstatus"
                                        id="bugstatus" class="form-control chosen-select" title="bug优先级"
                                        maxlength="50" lay-verify="required1"></select>
                            </div>
                            <label class="col-sm-1 control-label">缺陷优先级：</label>
                            <div class="col-sm-4">
                                <select name="bugpriortity"
                                        id="bugpriortity" class="form-control chosen-select" title="bug优先级"
                                        maxlength="50" lay-verify="required1"></select>

                                  </div>
                        </div>


                        <div class="form-group">
                            <label class="col-sm-1 control-label">缺陷等级：</label>
                            <div class="col-sm-4">
                                <select name="buglevel"
                                        id="buglevel" class="form-control chosen-select" title="bug等级"
                                        maxlength="50" lay-verify="required1"></select>

                            </div>
                            <label class="col-sm-1 control-label">指派人：</label>
                            <div class="col-sm-4">
                                <input id="bugappoint" name="bugappoint" class="form-control" type="text">
                            </div>
                        </div>


                        <div class="form-group">
                            <label class="col-sm-1 control-label"><span class="span_xx">* 缺陷类型：</span></label>
                            <div class="col-sm-4">
                                <select name="bugtype"
                                        id="bugtype" class="form-control chosen-select" title="bug类型"
                                        maxlength="50" lay-verify="required1"></select>

                            </div>
                            <label class="col-sm-1 control-label">缺陷截止日期：</label>
                            <div class="col-sm-4">
                                <input id="buguptoend" name="buguptoend" class="form-control" type="text">
                            </div>
                        </div>

                        <div class="form-group">

                            <input id="bugcontent" name="bugcontent" type="hidden"> <label
                                class="col-sm-1 control-label"><span class="span_xx">* 缺陷内容：</span></label>
                            <div class="col-sm-9">
                                <div class="ibox-content no-padding">
                                    <div id="content_sn" class="summernote"></div>
                                </div>
                            </div>

                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/static/itemjs/bug/questionInfo/add.js" th:src="@{/itemjs/bug/questionInfo/add.js}">
</script>


<script>
    //执行一个laydate实例
    laydate.render({
        elem: '#buguptoend'  //指定实例
        ,type:'date'
    });

</script>
</body>
</html>
